package cn.lwp.excel;

import com.alibaba.excel.EasyExcelFactory;
import com.alibaba.excel.metadata.Sheet;
import com.alibaba.excel.read.metadata.ReadSheet;

import java.io.InputStream;
import java.util.List;

/**
 * ReadExcelTest
 *
 * @author lanwenping
 * @version 1.0
 * @date 2020/8/17 9:14
 */
public class ReadExcelTest {
    public static void main(String[] args) {
        InputStream inputStream = null;
        List<Object> data = EasyExcelFactory.read(inputStream, new Sheet(1, 0));
        // 新的
//        List<Object> data = EasyExcelFactory.read(inputStream, new ReadSheet(1, "sheetName"));
    }
}
